#coding=utf-8

class LoginError(Exception):
  def __init__(self, response=None):
    self.respose = response
    
  def __str__(self):
    return "Login Fail"

class ParseSearchError(Exception):
  def __init__(self, info=''):
    self.info = info
    
  def __str__(self):
    return "Parse HTML ERROR: %s"%self.info

class FetchCommentsError(Exception):
  def __init__(self, message, code, info, html_content):
    self.message = msessage
    self.code = code
    self.info = info
    self.html_content = html_content
        
  def __str__(self):
    return "Fetch Comments Error"
    
